home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / ON / CTCP < prev    next >
Encoding:
Text File  |  1993-05-04  |  959 b   |  24 lines

  1. Usage: ON [#|+|-|^|&|@]CTCP [-|^]<parameters> [action]
  2.   This event is activated whenever someone sends a client-to-client
  3.   protocol (CTCP) request.  Certain CTCP types are have predefined
  4.   actions that you can't override with the ^, but you can use the
  5.   to create your own CTCP protocols.  The parameters are:
  6.         $0      nick of person who send CTCP
  7.         $1      who the ctcp was to (either your nick or a channel)
  8.         $2      The CTCP command word
  9.         $3-     Any additional arguments
  10.   For example, if you want to set up a new ctcp function called 
  11.   CHEESE, you  would do:
  12.     ON -CTCP "* * CHEESE" CTCP $0 $2 Say Cheese!
  13.   Using the /CTCP in an ON CTCP automatically sends the proper 
  14.   reply format.  If someone no send you a:
  15.     CTCP <yournick> CHEESE
  16.   you will see:
  17.     *** CTCP CHEESE from <theirnick>:
  18.   and they will see:
  19.     *** CTCP REPLY CHEESE from <yournick>: Say Cheese!
  20.   
  21. See Also:
  22.   CTCP
  23.   ON CTCP_REPLY
  24.